package com.langsin.ArrayDemo;

/**
 * @Auther: MFM
 * @Date: 2021/7/15 - 07 - 15 - 19:34
 * @version: 1.0
 */

public class Test {
    public static void main(String[] args) {
        Array arr = new Array(10);
        for (int i = 0; i < 10; i++) {
            arr.addLast(i);
        }
        System.out.println(arr);

        arr.addLast(10);
        System.out.println(arr);
    }

}
